home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Show Time 3.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
810b
|
44 lines
[SUBJECT]
Description=Display the current time (3rd variant)
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<SCRIPT LANGUAGE="JavaScript">
;<!-- begin script
;var ddt3, delay;
;function debuteTemps3() {
; var hhmmss = " ", mymin, sec;
; delay = `delay`;
;
; adate = new Date();
; hhmmss += adate.getHours();
; mymin = adate.getMinutes();
; if (mymin < 10) hhmmss += " h 0" + mymin;
; else hhmmss += " h " + mymin;
; hhmmss = " " + hhmmss;
; document.Temps13.heure.value = hhmmss;
;
; ddt3 = setTimeout("debuteTemps3(delay)",delay);
;}
;// end script -->
;</SCRIPT>
;
[BODY_TAG]
;onLoad="debuteTemps3()" onUnload="clearTimeout(ddt3)"
[BODY_TEXT]
;<form name="Temps13">
;<input type="text" name="heure" size="16"><br>
;</form>
[`delay`]
Kind=N
Value=1000